package com.indexingsystem.entity;

import java.io.Serializable;
import java.util.List;

public class ThemeWord implements Serializable {

    private Integer themeWordId;
    private String themeWordName;
    private String themeWordCode;
    private List<RelationThemeWord> relationThemeWords;

    public ThemeWord() {
    }

    public ThemeWord(Integer themeWordId, String themeWordName, String themeWordCode, List<RelationThemeWord> relationThemeWords) {
        this.themeWordId = themeWordId;
        this.themeWordName = themeWordName;
        this.themeWordCode = themeWordCode;
        this.relationThemeWords = relationThemeWords;
    }

    public Integer getThemeWordId() {
        return themeWordId;
    }

    public void setThemeWordId(Integer themeWordId) {
        this.themeWordId = themeWordId;
    }

    public String getThemeWordName() {
        return themeWordName;
    }

    public void setThemeWordName(String themeWordName) {
        this.themeWordName = themeWordName;
    }

    public String getThemeWordCode() {
        return themeWordCode;
    }

    public void setThemeWordCode(String themeWordCode) {
        this.themeWordCode = themeWordCode;
    }

    public List<RelationThemeWord> getRelationThemeWords() {
        return relationThemeWords;
    }

    public void setRelationThemeWords(List<RelationThemeWord> relationThemeWords) {
        this.relationThemeWords = relationThemeWords;
    }

    @Override
    public String toString() {
        return "ThemeWord{" +
                "themeWordId=" + themeWordId +
                ", themeWordName=" + themeWordName +
                ", themeWordCode='" + themeWordCode + '\'' +
                ", relationThemeWords=" + relationThemeWords +
                '}';
    }
}
